Skip to content

LibSuiteSparse: Make init_suitesparse compatible with --trim - #754

Merged
araujoms merged 2 commits into
JuliaSparse:mainfrom
topolarity:ct/trim-libsuitesparse
Sep 3, 2026
Merged

LibSuiteSparse: Make init_suitesparse compatible with --trim#754
araujoms merged 2 commits into
JuliaSparse:mainfrom
topolarity:ct/trim-libsuitesparse

Conversation

@topolarity

@topolarity topolarity commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The ... splat and implicit return convert here cannot be resolved by --trim (yet)

topolarity and others added 2 commits September 2, 2026 21:49
Splatting a `Vector` of unknown length into the `VersionNumber` constructor
is not statically resolvable (juliac `--trim`); destructure the three
components instead.

This commit was written with the assistance of generative AI (Claude).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
`init_suitesparse` is a `OncePerProcess{Nothing}`, but its body ended in
`cond && atexit(...)`, whose value infers as `Bool`. Storing that into the
`Nothing` slot cannot be resolved statically (juliac `--trim`); return
`nothing` explicitly.

This commit was written with the assistance of generative AI (Claude).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.85%. Comparing base (88fa040) to head (c3b6bb5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #754   +/-   ##
=======================================
  Coverage   83.85%   83.85%           
=======================================
  Files          13       13           
  Lines        9387     9389    +2     
=======================================
+ Hits         7871     7873    +2     
  Misses       1516     1516           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@araujoms
araujoms merged commit 14408ef into JuliaSparse:main Sep 3, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants